insert r code into word. There are any references about insert r code into word in here. you can look below.